local skill = fk.CreateSkill{
    name = "lingling__roushenzhuachuxue",
    tags = {Skill.Compulsory}
}
Fk:loadTranslationTable{
    ["lingling__roushenzhuachuxue"] = "肉神抓出血",
    [":lingling__roushenzhuachuxue"] = "锁定技，当你使用【杀】造成伤害后，其下回合每使用一张牌就有30%几率失去1点体力（不叠加）。",
    ["@[desc]lingling__zhuachuxue"] = "出血",
    [":lingling__zhuachuxue"] = "使用牌时有30%几率失去1点体力。",
}
skill:addEffect(fk.Damage,{
    anim_type = "offensive",
    can_trigger = function (self, event, target, player, data)
        return target == player and player:hasSkill(skill.name) and data.card.trueName == "slash" and data.to:isAlive()
    end,
    on_use = function (self, event, target, player, data)
        player.room:setPlayerMark(data.to,"@[desc]lingling__zhuachuxue",1)
    end,
})
skill:addEffect(fk.CardUsing,{
    global = true,
    can_refresh = function (self, event, target, player, data)
        return target == player and player:getMark("@[desc]lingling__zhuachuxue") ~= 0 and math.random() < 0.3
    end,
    on_refresh = function (self, event, target, player, data)
        player.room:loseHp(player,1,skill.name)
    end,
})
skill:addEffect(fk.TurnEnd,{
    global = true,
    can_refresh = function (self, event, target, player, data)
        return target == player and player:getMark("@[desc]lingling__zhuachuxue") ~= 0
    end,
    on_refresh = function (self, event, target, player, data)
        player.room:setPlayerMark(target,"@[desc]lingling__zhuachuxue",0)
    end,
})
return skill